package com.sofa.shark.file.remotefile;

import com.sofa.shark.file.entity.FileInfoBO;
import com.sofa.shark.file.entity.FileServerResponse;
import com.sofa.shark.file.enums.FileUploadSceneType;

import java.io.File;

/**
 * @author tonyp
 * 文件上传接口
 */
public interface FileService {

    FileServerResponse<FileInfoBO> upload(File file, String path, FileUploadSceneType sceneType);
}
